/*
 * @Author: deliteam 462085920@qq.com
 * @Date: 2023-11-30 14:05:25
 * @Description:
 */
import { ApiProperty } from '@nestjs/swagger';
import { IsBoolean, IsNotEmpty, IsString } from 'class-validator';
export class CreatePressDto {
  id: number;

  @ApiProperty({
    required: false,
    description: '外链',
  })
  link: string;

  @ApiProperty({
    required: true,
    description: '图片',
  })
  image: string;

  @ApiProperty({
    required: false,
    description: '描述',
  })
  description: string;

  @ApiProperty()
  createdAt: Date;

  updatedAt: Date;
}
